package com.ruoyi.ljj.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 加注对象 t_gasoline
 * 
 * @author ruoyi
 * @date 2022-07-14
 */
public class Gasoline extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 加注时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "加注时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fillDate;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 数量 */
    @Excel(name = "数量")
    private String count;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal totalFee;

    /** 优惠单价 */
    @Excel(name = "优惠单价")
    private BigDecimal discountsPrice;

    /** 优惠实付金额 */
    @Excel(name = "优惠实付金额")
    private BigDecimal discountsTotalFee;

    /** 每升优惠金额 */
    @Excel(name = "每升优惠金额")
    private BigDecimal discountsIntervalPrice;

    /** 优惠总金额 */
    @Excel(name = "优惠总金额")
    private BigDecimal discountsIntervalTotal;

    /** 是否加满 0-未加满 1-已加满 */
    @Excel(name = "是否加满 0-未加满 1-已加满")
    private String fullStatus;

    /** 对比上次加注时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "对比上次加注时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date kmBeforeTime;

    /** 距上次加注间隔时间 */
    @Excel(name = "距上次加注间隔时间")
    private String fillIntervalTime;

    /** 当前里程 */
    @Excel(name = "当前里程")
    private String km;

    /** 距上次公里数 */
    @Excel(name = "距上次公里数")
    private String kmInterval;

    /** 百公里注耗 */
    @Excel(name = "百公里注耗")
    private String kmConsume;

    /** 每公里金额 */
    @Excel(name = "每公里金额")
    private BigDecimal kmPrice;

    @Excel(name="优惠后每公里金额")
    private BigDecimal discountsKmPrice;

    /** 车牌 */
    @Excel(name = "车牌")
    private String licenseNum;

    /** 注站名称 */
    @Excel(name = "注站名称")
    private String stationName;

    @Excel(name = "标号")
    private String grade;

    public BigDecimal getDiscountsKmPrice() {
        return discountsKmPrice;
    }

    public void setDiscountsKmPrice(BigDecimal discountsKmPrice) {
        this.discountsKmPrice = discountsKmPrice;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setFillDate(Date fillDate) 
    {
        this.fillDate = fillDate;
    }

    public Date getFillDate() 
    {
        return fillDate;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setCount(String count) 
    {
        this.count = count;
    }

    public String getCount() 
    {
        return count;
    }
    public void setTotalFee(BigDecimal totalFee) 
    {
        this.totalFee = totalFee;
    }

    public BigDecimal getTotalFee() 
    {
        return totalFee;
    }
    public void setDiscountsPrice(BigDecimal discountsPrice) 
    {
        this.discountsPrice = discountsPrice;
    }

    public BigDecimal getDiscountsPrice() 
    {
        return discountsPrice;
    }
    public void setDiscountsTotalFee(BigDecimal discountsTotalFee) 
    {
        this.discountsTotalFee = discountsTotalFee;
    }

    public BigDecimal getDiscountsTotalFee() 
    {
        return discountsTotalFee;
    }
    public void setDiscountsIntervalPrice(BigDecimal discountsIntervalPrice) 
    {
        this.discountsIntervalPrice = discountsIntervalPrice;
    }

    public BigDecimal getDiscountsIntervalPrice() 
    {
        return discountsIntervalPrice;
    }
    public void setDiscountsIntervalTotal(BigDecimal discountsIntervalTotal) 
    {
        this.discountsIntervalTotal = discountsIntervalTotal;
    }

    public BigDecimal getDiscountsIntervalTotal() 
    {
        return discountsIntervalTotal;
    }
    public void setFullStatus(String fullStatus) 
    {
        this.fullStatus = fullStatus;
    }

    public String getFullStatus() 
    {
        return fullStatus;
    }
    public void setKmBeforeTime(Date kmBeforeTime) 
    {
        this.kmBeforeTime = kmBeforeTime;
    }

    public Date getKmBeforeTime() 
    {
        return kmBeforeTime;
    }
    public void setFillIntervalTime(String fillIntervalTime) 
    {
        this.fillIntervalTime = fillIntervalTime;
    }

    public String getFillIntervalTime() 
    {
        return fillIntervalTime;
    }
    public void setKm(String km) 
    {
        this.km = km;
    }

    public String getKm() 
    {
        return km;
    }
    public void setKmInterval(String kmInterval) 
    {
        this.kmInterval = kmInterval;
    }

    public String getKmInterval() 
    {
        return kmInterval;
    }
    public void setKmConsume(String kmConsume) 
    {
        this.kmConsume = kmConsume;
    }

    public String getKmConsume() 
    {
        return kmConsume;
    }
    public void setKmPrice(BigDecimal kmPrice) 
    {
        this.kmPrice = kmPrice;
    }

    public BigDecimal getKmPrice() 
    {
        return kmPrice;
    }
    public void setLicenseNum(String licenseNum) 
    {
        this.licenseNum = licenseNum;
    }

    public String getLicenseNum() 
    {
        return licenseNum;
    }
    public void setStationName(String stationName) 
    {
        this.stationName = stationName;
    }

    public String getStationName() 
    {
        return stationName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fillDate", getFillDate())
            .append("price", getPrice())
            .append("count", getCount())
            .append("totalFee", getTotalFee())
            .append("discountsPrice", getDiscountsPrice())
            .append("discountsTotalFee", getDiscountsTotalFee())
            .append("discountsIntervalPrice", getDiscountsIntervalPrice())
            .append("discountsIntervalTotal", getDiscountsIntervalTotal())
            .append("fullStatus", getFullStatus())
            .append("kmBeforeTime", getKmBeforeTime())
            .append("fillIntervalTime", getFillIntervalTime())
            .append("km", getKm())
            .append("kmInterval", getKmInterval())
            .append("kmConsume", getKmConsume())
            .append("kmPrice", getKmPrice())
            .append("licenseNum", getLicenseNum())
            .append("stationName", getStationName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("grade", getGrade())
            .toString();
    }
}
